package com.lfw.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
@EnableDiscoveryClient //nacos注册
@EnableFeignClients  //调用端注解
@SpringBootApplication
@ComponentScan(basePackages = {"com.lfw"}) //不加的话只能扫描当前模块，扫不到common下面的SwaggerConfig配置类
//好像直接@Configuration也行  这里为了使用swagger 可以自己测试一下
public class EduApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class, args);
    }
}
